DISTPATH = ./dist

.PHONY:all run clean help install liushuojia yunji git old

all: run

run:
	npm run serve

clean:
	@rm -rf ${DISTPATH}

build:
	npm run build

install:
	npm install

test:pull install build
	@sh ./sh/upload.sh -h 47.108.24.183

pull:
	git pull

git:
	git add .
	git commit -m "change"
	git push

help:
	@echo "make all - 生成linux执行文件"
	@echo "make run - 直接运行 Go 代码"
	@echo "make clean - 移除编译文件夹"
	@echo "make git - git 备份"
	@echo "make help - 查看帮助"

